package olga.gorbatiuk.perdep.dao.daofactory.impl;

import olga.gorbatiuk.perdep.dao.DAOFactory;
import olga.gorbatiuk.perdep.dao.concretedao.CustomerDAO;
import olga.gorbatiuk.perdep.dao.concretedao.DepartmentDAO;
import olga.gorbatiuk.perdep.dao.concretedao.EmployeeDAO;
import olga.gorbatiuk.perdep.dao.concretedao.PositionDAO;
import olga.gorbatiuk.perdep.dao.concretedao.ProjectDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.xml.XmlCustomerDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.xml.XmlDepartmentDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.xml.XmlEmployeeDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.xml.XmlPositionDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.xml.XmlProjectDAO;

/**
 *
 * @author Olga Gorbatiuk
 */
public class XmlDAOFactory extends DAOFactory {

    public XmlDAOFactory() {
    }

    @Override
    public CustomerDAO getCustomerDAO() {
        return new XmlCustomerDAO();
    }

    @Override
    public ProjectDAO getProjectDAO() {
        return new XmlProjectDAO();
    }

    @Override
    public EmployeeDAO getEmployeeDAO() {
        return new XmlEmployeeDAO();
    }

    @Override
    public PositionDAO getPositionDAO() {
        return new XmlPositionDAO();
    }

    @Override
    public DepartmentDAO getDepartmentDAO() {
        return new XmlDepartmentDAO();
    }

}
